home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_100
/
163_02
/
sgtty.h
< prev
next >
Wrap
Text File
|
1987-06-01
|
640b
|
22 lines
/*
** include sgtty.h
**
** data structure for _ioctl()
*/
/*
** sgttyb structure
*/
#define SG_SIZE 6
#define SG_ISPEED 0 /* input speed */
#define SG_OSPEED 1 /* output speed */
#define SG_ERASE 2 /* character erase character */
#define SG_KILL 3 /* line kill character */
#define SG_FLGS 4 /* control flags (two bytes) */
/*
** _ioctl() request codes
*/
#define TIOCGETP 0 /* materialize sgttyb structure */
#define TIOCSETP 1 /* modify sgttyb structure */